﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 员工类
{
    class Manager:Employee
    {
        //经理 ：月薪+1000*年限* 字段：基础分红1000
        protected int Share = 1000;
        public Manager()
        {
            Name = "经理";
            Money = 1000;
            Year = 4;
            q = Money + 1000 * Year * Share;
        }
    }
}
